/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package com.dianning.service;

import java.util.List;

import com.dianning.bean.Company;
import com.dianning.bean.Visitor;
import com.dianning.exception.DianningException;

/**
 * 功能描述:公司操作接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface CompanyService {
	/**
	 * 根据主键ID获取Company对象
	 * 
	 * @param uid
	 * 			主键ID
	 * @return Company
	 * 			Company对象
	 */
	public Company findCompanyByUid(long uid);
	/**
	 * 保存Company对象
	 * 
	 * @param company
	 * 			Company对象
	 * @return Company
	 * 			Company对象
	 */
	public Company updateCompany(Company company);
}
